package com.firemoss.atonement.test.mapper.objects
{
	public class Convenience
	{
		public function Convenience( init : Object = null )
		{
			if ( init )
			{
				set( init )
			}
		}
		
		public function set( init : Object ) : *
		{
			for ( var key : String in init )
			{
				if ( this.hasOwnProperty( key ) )
				{
					this[ key ] = init[ key ] 
				}
			}
			
			return this
		}
	}
}